import { createApp } from 'vue'
import App from './App.vue'

// 不能直接挂载，需要切换的时候 调用mount时，再挂载
function render() {
createApp(App).mount('#app')
}

// 需要暴露接入协议

export async function bootstrap() {
    console.log('vue3 app bootstrapp');
}
export async function mount() {
    console.log('vue3 app mount');
    render()                                                                                                                  4
}
export async function unmount() {
    console.log('vue3 app unmount');
    
}